package com.forever7776.life.core.mapper.sys;

import com.forever7776.life.core.entity.sys.SysFunction;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 * 菜单表 Mapper 接口
 * </p>
 *
 * @author kz
 * @since 2018-01-18
 */
public interface SysFunctionMapper extends BaseMapper<SysFunction> {

    /**
     * 查询角色菜单列表
     *
     * @param userId
     * @return
     */
    @Select("getUrls")
    List<String> getUrls(String userId);

}